package com.ruicar.afs.cloud.product.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.product.condition.ExtrasCondition;
import com.ruicar.afs.cloud.product.entity.ExtrasInfo;
import com.ruicar.afs.cloud.product.mapper.ExtrasProjectMapper;
import com.ruicar.afs.cloud.product.service.ExtrasProjectService;
import com.ruicar.afs.cloud.product.vo.ExtrasInfoVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xudongdong
 * @date 2020-05-12
 */
@Service
public class ExtrasProjectServiceImpl extends ServiceImpl<ExtrasProjectMapper, ExtrasInfo> implements ExtrasProjectService {

    @Override
    public IPage<List<ExtrasInfoVo>> getSelectFatherNo(Page page) {
        return baseMapper.getSelectFatherNo(page);
    }

    @Override
    public IPage<List<ExtrasInfo>> getProjectList(Page page, ExtrasCondition condition) {
        return baseMapper.getProjectList(page, condition);
    }

    @Override
    public IPage<List<ExtrasInfo>> getProjectDataList(Page page, ExtrasCondition condition) {
        return baseMapper.getProjectDataList(page, condition);
    }
}
